//
// Created by Administrator on 2024-11-2
//

#include <iostream>
#include "arrUtil.h"
using namespace std;


int main()
{
    vector<int> v={0};
    int n = 100;
    for (int i = 1,j=0; i <= n; i*=2,j++)
        v.push_back(i+v[j]);
    printVector(v);
    return 0;
}